package com.aboverock.module.system.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.aboverock.module.system.mapper.ValidatorMapper;
import com.aboverock.module.system.service.ValidatorService;

/**
 * The Class ValidatorServiceImpl.
 *
 * @author Rock Wang
 */
@Component
public class ValidatorServiceImpl implements ValidatorService {
    @Autowired
    private ValidatorMapper validatorMapper;

    @Override
    public int selectCount(String tableName, Map<String, Object> conditions, Object id) {
        return validatorMapper.selectCount(tableName, conditions, id);
    }

}
